Closed Bug 506645 Opened 16 years ago Closed 16 years ago

nsTypedSelection::AddItem doesn't always null check aOutIndex

Categories

(Core :: DOM: Selection, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity, crash)

Attachments

(1 file)

3696 nsTypedSelection::AddItem(nsIRange *aItem, PRInt32 *aOutIndex) 3702 if (aOutIndex) 3703 *aOutIndex = -1; 3709 if (aOutIndex) 3710 *aOutIndex = 0; 3735 if (aOutIndex) 3736 *aOutIndex = startIndex; 3745 if (sameRange) { 3746 *aOutIndex = startIndex;
Attached patch patchSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #390914 - Flags: review?(Olli.Pettay)
Attachment #390914 - Flags: review?(Olli.Pettay) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: